﻿using System.Collections.Generic;
using System.Linq;

namespace System
{
    static public class StringExtentions
    {
        #region Static public methods

        static public bool IsNullOrEmpty(this string value)
        {
            return string.IsNullOrEmpty(value);
        }

        static public string Join(this IEnumerable<string> values, string separator)
        {
            if (values == null)
                return null;

            return string.Join(separator, values.ToArray());
        }

        #endregion
    }
}